<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>formvalidatorregex.js" charset="UTF-8"></script>
<script type="text/javascript">

</script>
  <style>
.tableK { font-size: 14px; border-spacing: 0px; border-bottom: 1px solid #999; width: 100%; }
.tableK tr th{ background-color: #CFDBEC; font-weight: bold; width: 160px; text-align: right; border-right: none; }
.tableK tr { }
.tableK td { border: 1px solid #999; border-bottom: none; padding: 4px 6px; }
.tableK td input[type='text'] { padding: 2px 4px; width: 300px; border: 1px solid #999; }
.tableK td textarea { border: 1px solid #999; }
.buttonpanle { width: 70%; text-align: center; margin-top: 4px; }
.mf-body-title { height: 40px; line-height: 40px; font-weight: bold; padding-left: 20px; }
</style>
  <div>
	<form action="/index.php?m=hchbrowse&c=loadshow&a=mylist"  method="post">
		<table class="tableK" border="0">
			<tr>
	            <th>序号</th>
				<td>
					<input type="text" name="id" id="id" value="<?php echo $item['id'] ?>" readonly="readonly"/>
				</td>				
			</tr>
            <tr>
                <th>名称</th>
                <td>
                    <input type="hidden" name="action" value="edit" />
                    <input type="text" name="item[name]" id="name"  class="input-text"  value="<?PHP echo $item['name']?>"/>*
                </td>
            </tr>
            <tr>
                <th>标题</th>
                <td>
                    <input type="text" name="item[title]" id="title"  class="input-text" value="<?PHP echo $item['title']?>" />*
                </td>
            </tr>
            <tr>
                <th>内容摘要</th>
                <td>
                    <textarea rows="10" cols="50" name="item[short_content]" id="short_content"><?PHP echo $item['short_content']?></textarea>
                </td>
            </tr>
            <!-- <tr>
                <th>内容</th>
                <td>
                    <textarea rows="10" cols="50" name="item[content]" id="content"><?PHP echo $item['content']?></textarea>
                    <?php echo form::editor('item[content]','full','','','',1,1);?>
                </td>
            </tr> -->
            <tr>
                <th>照片</th>
                <td>
                    <?php echo form::images('item[img]', 'img', $item["img"], 'link')?>
                </td>
            </tr>
            <tr>
                <th>视频路径</th>
                <td>
                    <input type="text" name="item[video]" id="video"  class="input-text" value="<?PHP echo $item['video']?>" />
                </td>
            </tr>
            <tr>
                <th>路演类型</th>
                <td>
                    <input type="radio" name="item[assort_type_id]" id="assort_type_id_img"  class="input-text" value="33" <?php if($item['assort_type_id'] == 33){?> checked="checked" <?PHP } ?>/>图片文字
                    <input type="radio" name="item[assort_type_id]" id="assort_type_id_video"  class="input-text" value="34" <?php if($item['assort_type_id'] == 34){?> checked="checked" <?PHP } ?>/>视频
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <input type="submit" name="submit" id="submit" value="提交" />
                </td>
            </tr>
	      </table>
      </form>
</div>
</body>
</html>